Repository navigation
Scripting terminal: show the last evaluation of the bound card - #95
Merged
Merged
Conversation
Coverage Report for CI Build 39205496474Coverage at 45.501% (no base build to compare)Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Hovering the binding label of a bound card now shows the last value or error of its member as evaluated by the network, and the last error from calling it as a function. It shows that it was not evaluated yet when the script changed since. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018MRyTdV3fSV5Q5NPGep4q9
rubensworks
force-pushed
the
terminal-ux-clean/9-toplevel-binding
branch
from
October 19, 2026 05:37
856c391 to
62276da
Compare
rubensworks
force-pushed
the
terminal-ux-clean/10-last-value
branch
from
October 19, 2026 05:37
a7b646b to
ad76d8b
Compare
Base automatically changed from
terminal-ux-clean/9-toplevel-binding
to
master-1.21-lts
October 19, 2026 17:54
…x-clean/10-last-value # Conflicts: # src/main/java/org/cyclops/integratedscripting/gametest/GameTestsScripts.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #94.
Before this, you had to walk to a display panel to see what a script member evaluates to, or why it fails. Now, hovering the "Bound to: …" label shows:
Last value: 42once the network has evaluated the memberLast error: …when reading it failed, for example a ReferenceError at the top level or a syntax errorLast error when called: …when calling the member as a function threw, for example inside a filterNot evaluated by the network since the script last changedbefore any evaluation, or after an editValues are recorded only where the network already evaluates. Nothing is evaluated just for the tooltip, so they're labeled "last".
How it works:
ScriptEvaluationStatuseskeeps one entry per (disk, path, member). It's written fromScriptVariable.getValueand from the script exception factory.Validation:
testScriptsEvaluationStatus(none, then value, then read error after an edit) andtestScriptsEvaluationStatusCallError(a function that throws, applied in a display panel).buildandrunGameTestServer(25/25) pass.Generated by Claude Code